package idv.loveloser.dao;

/**
 * AbstractMdlMnetHost2service entity provides the base persistence definition
 * of the MdlMnetHost2service entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlMnetHost2service implements
		java.io.Serializable {

	// Fields

	private Long id;
	private Long hostid;
	private Long serviceid;
	private Boolean publish;
	private Boolean subscribe;

	// Constructors

	/** default constructor */
	public AbstractMdlMnetHost2service() {
	}

	/** full constructor */
	public AbstractMdlMnetHost2service(Long hostid, Long serviceid,
			Boolean publish, Boolean subscribe) {
		this.hostid = hostid;
		this.serviceid = serviceid;
		this.publish = publish;
		this.subscribe = subscribe;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getHostid() {
		return this.hostid;
	}

	public void setHostid(Long hostid) {
		this.hostid = hostid;
	}

	public Long getServiceid() {
		return this.serviceid;
	}

	public void setServiceid(Long serviceid) {
		this.serviceid = serviceid;
	}

	public Boolean getPublish() {
		return this.publish;
	}

	public void setPublish(Boolean publish) {
		this.publish = publish;
	}

	public Boolean getSubscribe() {
		return this.subscribe;
	}

	public void setSubscribe(Boolean subscribe) {
		this.subscribe = subscribe;
	}

}